<form id="wzbmForm" action="${base}/sys/wzbm/yjwzbm" method="post">
    <input type="hidden" name="yjwzbm.id" value="${(yjwzbm.id)!''}" />
    <table style="width:99.7%" class="tb tb-con">
        <col width="10%"/><col width="30%"/><col width="10%"/><col width="30%"/>
        <tr>
            <th style="color:#f45212;">一级物资编码名称:</th>
            <td><input name="yjwzbm.name" type="text" class="easyui-validatebox input-text" required="true" value="${(yjwzbm.name)!''}"/></td>
        <#if yjwzbm??>
            <th style="color:#f45212;">一级物资编码代码:</th>
            <#--<td><input name="yjwzbm.code" type="text" class="easyui-validatebox input-text" required="true" value="${(yjwzbm.code)!''}" validType="fixLength[2]"/></td>-->
            <td>${(yjwzbm.code)!}</td>
        </#if>
        </tr>
    </table>
    <div style="padding:5px 0;text-align:right;padding-right:30px">
        <a href="#" class="easyui-linkbutton" iconcls="icon-save" plain="true"
           onclick="wzbm_saveItem('${index}','${level}')">保存</a>
        <a href="#" class="easyui-linkbutton" iconcls="icon-cancel" plain="true"
           onclick="wzbm_cancelItem('${index}')">取消</a>
    </div>
</form>